package com.itchu.system.domain;


import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "song")
public class Song {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private Long singerId;

    private String name;

    private String picture;

    private String songUrl;

    private Double audioDuration;

    private String lyric;

    private Integer count;

    private Integer state;   // 0是审核通过，1是等待审核，2是审核不通过

    private Date createTime;

    private Date updateTime;

    private Singer singer;
}
